package kn.webstd.g4g.business;

import java.util.Collection;

import kn.webstd.g4g.commons.dts.PermissionsDts;
import kn.webstd.g4g.commons.dts.UsersDts;
import kn.webstd.tools.business.IService;
import kn.webstd.tools.business.security.IAuthorizationManager.PermitAll;

@PermitAll
public interface ILoginService extends IService {
	public UsersDts removeUserSession();
	public UsersDts createUserSession(UsersDts user);
	public UsersDts getCurrentUserSession();
	public UsersDts loginUser(String username, String password);
	
	
	public Collection<PermissionsDts> getPermissionById(String idUser);
}